package com.iot.common.enums;

/**
 * 设备类型
 * 
 * @author iot
 */
public enum DeviceType
{
    HANGING32("hanging32", "32寸壁挂"),
    HANGING43("hanging43", "43寸壁挂"),
    VERTICAL("vertical", "立式终端"),
    TRUMPET("trumpet", "喇叭终端"),
    LAMP("lamp", "应急灯"),
    RECEIVER("receiver", "接收终端"),
    OTHER("other", "其他");

    private final String code;
    private final String info;

    DeviceType(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
